package mq.cinrad.analysis.service;

import org.springframework.stereotype.Service;

/**
 * 通用接口
 */
@Service
public interface IService<T> {

	T selectByKey(Object key);

	int save(T entity);

	int delete(Object key);

	int update(T entity);

	int updateNotNull(T entity);

	// TODO 其他...
}
